package com.example.neusoft.cook.ViewHolder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.neusoft.cook.R;

import org.w3c.dom.Text;

/**
 * Created by neusoft on 2017/5/3.
 */

public class ShopitemViewHolder extends RecyclerView.ViewHolder {
    public ImageView imageView;
    public TextView shopNameView;
    public TextView shopLevelView;
    public TextView shopAddressView;

    public View itemView;//添加OnClick监听器

    public ShopitemViewHolder(View itemView) {
        super(itemView);
        this.itemView = itemView;
        imageView = (ImageView) itemView.findViewById(R.id.imageView);
        shopNameView = (TextView) itemView.findViewById(R.id.textView_shop_name);
        shopLevelView = (TextView) itemView.findViewById(R.id.textView_shop_level);
        shopAddressView = (TextView) itemView.findViewById(R.id.textView_shop_address);
    }
}
